package com.atg.atgchat.init.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/*
author: atg
time: 2025/1/16 16:23
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ModifyNameRequest {
    @NotNull
    @Length(min=1, max=6, message="昵称长度为1-6位")
    @ApiModelProperty("用户名")
    private String name;
}
